html {
    font-family: "Segoe UI", Helvetica, Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

header {
    background: #212121;
    background: linear-gradient(to top, #373737, #212121);
    color: #ffffff;
}

header h1 {
    font-size: 42px;
    margin: 0;
}

h2 {
    border-bottom: gray dotted 1px;
    font-weight: normal;
}

h3 {
    border-bottom: #ccc solid 1px;
    font-weight: normal;
    width: max-content;
}

header p.subtitle {
    font-size: 24px;
    font-weight: 300;
}

div.header-inner {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 20px 10px;
    position: relative;
}

#github-banner {
    position: absolute;
    top: 0;
    right: 10px;
    padding: 10px 50px 10px 10px;
    color: #fff;
    background: url("../images/octocat.png") #0090ff no-repeat 95% 50%;
    font-weight: 700;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

body {
    background: #f2f2f2;
    padding: 0;
    margin: 0;
}

div.content {
    display: grid;
    display: -ms-grid;
    grid-template-areas: "nav main toc";
    grid-template-columns: 250px 1fr 250px;
    -ms-grid-columns: 250px 1fr 250px;
    max-width: 1500px;
    margin:auto;
}

main {
    display: block;
    grid-area: main;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    padding: 10px;
    background: #ffffff;
}

nav {
    font-size: 85%;
    background: #ffffff;
    padding: 3px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

nav#sitenav {
    grid-area: nav;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    border-right: #f6f6f6 solid 1px;
}

nav#TOC {
    grid-area: toc;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    border-left: #f6f6f6 solid 1px;
}

nav h2 {
    border: none;
}

nav ul {
    list-style: none;
    padding-left: 1rem;
}

a {
    text-decoration: none;
    color: #0F79D0;
}

a:hover {
    text-decoration: underline;
}

pre, code {
    color: #222;
    background-color: #f6f6f6;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    min-width: fit-content;
}

pre {
    padding: 10px;
    overflow: auto;
}

code {
    white-space: pre-wrap;
    padding: 3px;
}

table {
    border: 1px solid #373737;
    margin-bottom: 20px;
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    padding: 10px;
    background: #373737;
    color: #fff;
    font-weight: 500;
}

td {
    padding: 10px;
    border: 1px solid #373737;
}

blockquote {
	background: #FDF8CF;
	padding: .5rem;
}